import type {RouteMeta} from 'vue-router';

export interface RouteItem {
  path: string;
  component: any;
  meta: RouteMeta;
  name?: string;
  alias?: string | string[];
  redirect?: string;
  caseSensitive?: boolean;
  children?: RouteItem[];
}

export interface Permission {
  id: string;
  title: string;
  name: string;
  icon: string;
  path: string;
  component: any;
  type: number;
  parentId: number;
  isExt: number;
  children?: Permission[];
}

/**
 * @description: Get menu return value
 */
export type getMenuListResultModel = Permission[];
